back · tests/cropper.spec.js:302:4 / Cropper view / creating a new bounding box / with 2-point tool
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:27:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures/app.ts:167:16)
at Object.forEachTest (tests/fixtures/foreachtest.ts:137:16)
Error: locator.click: Test ended.
Call log:
- waiting for getByRole('img', { name: 'lil-fella.jpeg' })
- waiting for "http://localhost:4173/" navigation to finish...
at tests/cropper.spec.js:141:60
Error: route.fetch: connect ECONNREFUSED ::1:4173
Call log:
- → GET http://localhost:4173/
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.7922.34 Safari/537.36
- accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- accept-encoding: gzip,deflate,br
- accept-language: fr-FR
- upgrade-insecure-requests: 1
- sec-ch-ua: "Not=A?Brand";v="99", "HeadlessChrome";v="151", "Chromium";v="151"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Windows"
at route.fetch: connect ECONNREFUSED ::1:4173
at tests/fixtures/foreachtest.ts:54:32
Error: page.goto: net::ERR_ABORTED; maybe frame was detached?
Call log:
- navigating to "http://localhost:4173/", waiting until "load"
at Object.forEachTest (tests/fixtures/foreachtest.ts:135:14)
Error: route.fetch: connect ECONNREFUSED ::1:4173
Call log:
- → GET http://localhost:4173/
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.7922.34 Safari/537.36
- accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- accept-encoding: gzip,deflate,br
- accept-language: fr-FR
- upgrade-insecure-requests: 1
- sec-ch-ua: "Not=A?Brand";v="99", "HeadlessChrome";v="151", "Chromium";v="151"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Windows"
at route.fetch: connect ECONNREFUSED ::1:4173
at tests/fixtures/foreachtest.ts:54:32
Error: locator.click: Test ended.
Call log:
- waiting for getByRole('img', { name: 'lil-fella.jpeg' })
- waiting for "http://localhost:4173/" navigation to finish...
at tests/cropper.spec.js:141:60
Error: page.goto: net::ERR_ABORTED; maybe frame was detached?
Call log:
- navigating to "http://localhost:4173/", waiting until "load"
at Object.forEachTest (tests/fixtures/foreachtest.ts:135:14)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures/app.ts:167:16)
at Object.forEachTest (tests/fixtures/foreachtest.ts:131:16)
Test timeout of 120000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Error: page.waitForURL: Test timeout of 120000ms exceeded.
=========================== logs ===========================
waiting for navigation until "load"
============================================================
at waitForRoute (tests/utils/navigation.js:183:13)
at chooseFirstSession (tests/utils/sessions.js:147:8)
at tests/cropper.spec.js:26:3
Error: page.evaluate: InvalidStateError: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
at listTable (tests/utils/database.js:43:27)
at Object.list (tests/fixtures.ts:253:24)
at tests/cropper.spec.js:28:40
Test timeout of 120000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:361:9
Error: page.evaluate: InvalidStateError: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
at dumpDatabase (tests/utils/database.js:61:33)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:577:18)
Error: locator.click: Test ended.
Call log:
- waiting for getByRole('button', { name: '2 points' })
at tests/cropper.spec.js:362:58
Test timeout of 120000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:232:8
Error: locator.click: Test ended.
Call log:
- waiting for getByRole('img', { name: 'lil-fella.jpeg' })
at tests/cropper.spec.js:233:60
Error: expect(locator).not.toHaveText(expected) failed
Locator: getByTestId('app-main')
Expected pattern: not /Chargement du modèle de recadrage…/
Received string: " Chargement du modèle de recadrage… detector-arthropoda.onnx 0%"
Timeout: 20000ms
Call log:
- Expect "not toHaveText" with timeout 20000ms
- waiting for getByTestId('app-main')
44 × locator resolved to <div data-testid="app-main" class="main svelte-di4wkt">…</div>
- unexpected value " Chargement du modèle de recadrage… detector-arthropoda.onnx 0%"
at goToTab (tests/utils/navigation.js:103:50)
at tests/cropper.spec.js:34:3
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:222:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:561:18)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:222:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:561:18)
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:222:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:561:18)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:222:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:561:18)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Error: expect(locator).not.toHaveText(expected) failed
Locator: getByTestId('app-main')
Expected pattern: not /Chargement du modèle de recadrage…/
Received string: " Chargement du modèle de recadrage… detector-arthropoda.onnx 0%"
Timeout: 20000ms
Call log:
- Expect "not toHaveText" with timeout 20000ms
- waiting for getByTestId('app-main')
44 × locator resolved to <div data-testid="app-main" class="main svelte-di4wkt">…</div>
- unexpected value " Chargement du modèle de recadrage… detector-arthropoda.onnx 0%"
at goToTab (tests/utils/navigation.js:103:50)
at tests/cropper.spec.js:34:3
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:204:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:521:18)
Error: expect(locator).not.toHaveText(expected) failed
Locator: getByTestId('app-main')
Expected pattern: not /Chargement du modèle de recadrage…/
Received string: " Chargement du modèle de recadrage… detector-arthropoda.onnx 0%"
Timeout: 20000ms
Call log:
- Expect "not toHaveText" with timeout 20000ms
- waiting for getByTestId('app-main')
44 × locator resolved to <div data-testid="app-main" class="main svelte-di4wkt">…</div>
- unexpected value " Chargement du modèle de recadrage… detector-arthropoda.onnx 0%"
at goToTab (tests/utils/navigation.js:103:50)
at tests/cropper.spec.js:34:3
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/cropper.spec.js:24:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:222:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:561:18)